{{define "LOOP"}}

{{$blog := .Blog}}
{{range .Posts}}
		<div id="post-{{.ID}}" class="post type-post status-publish format-standard hentry">
			<h2 class="entry-title"><a href="{{$blog.siteurl}}/post?id={{.ID}}" title="Permalink to {{.Title}}" rel="bookmark">{{.Title}}</a></h2>

			<div class="entry-meta">
				<span class="meta-prep meta-prep-author">Posted on</span> <span class="entry-date">{{.DispCreatedTime }}</span> <span class="meta-sep">by</span> <span class="author vcard">{{ .AuthorObj.Nicename }}</span>
			</div><!-- .entry-meta -->

			<div class="entry-content">
				{{.HTMLContent}}
			</div><!-- .entry-content -->

			<div class="entry-utility">
				{{with .CategoryTerm}}
				<span class="cat-links">
					<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> <a href="{{$blog.siteurl}}/post?category={{.ID}}" title="{{.Name}}">{{.Name}}</a>
				</span>
				{{end}}
				<span class="meta-sep">|</span>
				<span class="tag-links">
					<span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> tag
				</span>
				<span class="meta-sep">|</span>
				<span class="comments-link"><a href="{{$blog.siteurl}}/post?id={{.ID}}#respond" title="Comment on tst post">Leave a comment</a></span>
				
			</div><!-- .entry-utility -->
		</div><!-- #post-## -->

{{end}}
{{end}}

